<?php
  if (!isset($title) || strlen(trim($title)) == 0) {
      $title = $defaultPageTitle;
  } else {
      $title = $leagueNameShort . " - " . $title;
  }
echo <<< EOQ
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>$title</title>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
    <meta name="description" content="$defaultPageTitle">
    <meta name="keywords" content="bloodbowl, blood bowl, league, games workshop, games, bbl, blood, bowl, $keywords">
    <meta http-equiv="Cache-Control" content="max-age=0">
    <meta http-equiv="Pragma" content="no-cache">
    <link href="$rootDir/style.css" rel="stylesheet">
    <link href="$rootDir/standard.css" rel="stylesheet">
    <link href="$rootDir/images/favicon.ico" rel="icon">
	<script language=javascript type='text/javascript'>
	function changeDivDisplay(id, style) {
		if (document.getElementById) { // DOM3 = IE5, NS6
			document.getElementById(id).style.display = style;
		} else if (document.layers) { // Netscape 4
	        var exeLine='document.' + id + '.display = '.style;
	        eval (exeLine);
		} else { // IE 4
	        var exeLine='document.all.' + id + '.display = '.style;
	        eval (exeLine);
		}
	}
	</script> 
  </head>
EOQ;
?>